import 'package:json_annotation/json_annotation.dart';
import 'package:xindong/models/user/xindong_base_user.dart';
import 'package:xindong/models/xindong_crown_class.dart';

part 'xindong_home_user.g.dart';

// 首页
@JsonSerializable()
class XinDongHomeUser extends XinDongBaseUser {
  int? noble_num;
  int? crown_num;
  int? love;

  // 语音签名
  String? voice;
  int? voice_time;

  String? voice_price;
  String? video_price;
  String? self_slogan; // 口号
  String? user_name;
  String? user_head;
  String? user_distance;
  String? last_login_datetime;
  String? register_datetime; // 注册日期
  String? noble_circle;
  String? user_sex;
  String? user_age;

  XinDongHomeUser();

  factory XinDongHomeUser.fromJson(Map<String, dynamic> json) => _$XinDongHomeUserFromJson(json);

  @override
  Map<String, dynamic> toJson() => _$XinDongHomeUserToJson(this);
}
